package com.sunhao.myapplication.entity;

public class User {
    public  int id;     //序号
    public  String name;  //姓名
    public  Integer age; //年龄
    public long height; //身高
    public float weight;//体重
    public boolean married; //婚否

    public User( String name, int age, long height, float weight, boolean married) {
        this.name = name;
        this.age = age;
        this.height = height;
        this.weight = weight;
        this.married = married;
    }
    public User() {

    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", height=" + height +
                ", weight=" + weight +
                ", married=" + married +
                '}';
    }
}
